#include<stdio.h>
#include<math.h>
int main()
{
    const double PI = 3.1415926;
    //freopen("in.txt","r",stdin);
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    printf("%.8f\n",1/2.0 * a * b * sin((c * PI) / 180) );
    printf("%.8f\n",sqrt (a*a + b*b - 2*a*b*cos((c * PI) / 180) ) + a + b );
    printf("%.8f\n",b * sin((c * PI) / 180) );
}